<html>
	<head>
		<title>Login Page</title>
		<meta name="layout" content="main" />
	</head>
	<body>
		<br>
            <br>
             <div class="body">
			<g:if test="${flash.message}"><div class="message">${flash.message}</div>
			</g:if>
			
			<g:form method="post" action="handleLogin">
                        <p align="center">
                        <table>
				   <tr>
                              <td><span class='Person'><label for="login">User Name:</label></span></td>
			            <td><g:textField name="userName" /><span class='Person'></span></td>
                           </tr>
                           <tr>
				      <td><p>Password: </td>
                              <td><g:passwordField name="password" type="password" /></td>
                           </tr>
                        </table>
                        </p>
                        <br>
                        <div class="buttons">
					<!--
					<span class="button"><g:actionSubmit value="Login" action="login" />
					</span>
					-->
					<g:submitButton  class ="button" name ="handleLogin"  value ="Login"></g:submitButton>

				</div>
                         
                        <div class="buttons">
					<span class="button"><g:actionSubmit value="Register" action="create" />
					</span>
				</div>
                        <br>
                        <br>
                        <br>

			</g:form>
		</div>
         	</body>
</html>
